package org.example.com.editor.command;

import org.example.com.editor.command.commandHistory.CommandHistoryItem;
import org.example.com.editor.editor.Editor;
import org.example.com.editor.ui.ConsoleUI;
import org.example.com.editor.workspace.Workspace;

import java.util.HashMap;
import java.util.Map;

public interface Undoable {
    void undo(Editor editor, ConsoleUI ui,Map<String,Object> params);
    void redo(Workspace workspace, ConsoleUI ui, Map<String,Object> params);
}
